package org.dromara.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.system.domain.XfNews;
import org.dromara.system.domain.XfUserReview;
import org.dromara.system.domain.query.XfNewsQuery;
import org.dromara.system.domain.query.XfUserReviewQuery;
import org.dromara.system.domain.vo.XfNewsVo;
import org.dromara.system.domain.vo.XfUserReviewVo;

import java.util.List;

public interface IXfUserReviewService extends IService<XfUserReview> {
    TableDataInfo<XfUserReviewVo> selectPageXfUserReviewList(XfUserReviewQuery query);


    List<XfUserReviewVo> selectXfUserReviewList(XfUserReviewQuery query);


    XfUserReviewVo selectXfUserReviewById(Long id);



    boolean insertXfUserReview(XfUserReview userReview);


    boolean updateXfUserReview(XfUserReview userReview);


    int deleteXfUserReviewById(Long id);


    int deleteXfUserReviewByIds(Long[] ids);
}
